package com.tro.generator.entity;

import com.tro.common.util.mybatis.Page;
import java.util.ArrayList;
import java.util.List;

public class GenTableColExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public GenTableColExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTableIdIsNull() {
            addCriterion("TABLE_ID is null");
            return (Criteria) this;
        }

        public Criteria andTableIdIsNotNull() {
            addCriterion("TABLE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTableIdEqualTo(String value) {
            addCriterion("TABLE_ID =", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotEqualTo(String value) {
            addCriterion("TABLE_ID <>", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdGreaterThan(String value) {
            addCriterion("TABLE_ID >", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdGreaterThanOrEqualTo(String value) {
            addCriterion("TABLE_ID >=", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdLessThan(String value) {
            addCriterion("TABLE_ID <", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdLessThanOrEqualTo(String value) {
            addCriterion("TABLE_ID <=", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdLike(String value) {
            addCriterion("TABLE_ID like", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotLike(String value) {
            addCriterion("TABLE_ID not like", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdIn(List<String> values) {
            addCriterion("TABLE_ID in", values, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotIn(List<String> values) {
            addCriterion("TABLE_ID not in", values, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdBetween(String value1, String value2) {
            addCriterion("TABLE_ID between", value1, value2, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotBetween(String value1, String value2) {
            addCriterion("TABLE_ID not between", value1, value2, "tableId");
            return (Criteria) this;
        }

        public Criteria andColNameIsNull() {
            addCriterion("COL_NAME is null");
            return (Criteria) this;
        }

        public Criteria andColNameIsNotNull() {
            addCriterion("COL_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andColNameEqualTo(String value) {
            addCriterion("COL_NAME =", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameNotEqualTo(String value) {
            addCriterion("COL_NAME <>", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameGreaterThan(String value) {
            addCriterion("COL_NAME >", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameGreaterThanOrEqualTo(String value) {
            addCriterion("COL_NAME >=", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameLessThan(String value) {
            addCriterion("COL_NAME <", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameLessThanOrEqualTo(String value) {
            addCriterion("COL_NAME <=", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameLike(String value) {
            addCriterion("COL_NAME like", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameNotLike(String value) {
            addCriterion("COL_NAME not like", value, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameIn(List<String> values) {
            addCriterion("COL_NAME in", values, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameNotIn(List<String> values) {
            addCriterion("COL_NAME not in", values, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameBetween(String value1, String value2) {
            addCriterion("COL_NAME between", value1, value2, "colName");
            return (Criteria) this;
        }

        public Criteria andColNameNotBetween(String value1, String value2) {
            addCriterion("COL_NAME not between", value1, value2, "colName");
            return (Criteria) this;
        }

        public Criteria andColCommentIsNull() {
            addCriterion("COL_COMMENT is null");
            return (Criteria) this;
        }

        public Criteria andColCommentIsNotNull() {
            addCriterion("COL_COMMENT is not null");
            return (Criteria) this;
        }

        public Criteria andColCommentEqualTo(String value) {
            addCriterion("COL_COMMENT =", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentNotEqualTo(String value) {
            addCriterion("COL_COMMENT <>", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentGreaterThan(String value) {
            addCriterion("COL_COMMENT >", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentGreaterThanOrEqualTo(String value) {
            addCriterion("COL_COMMENT >=", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentLessThan(String value) {
            addCriterion("COL_COMMENT <", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentLessThanOrEqualTo(String value) {
            addCriterion("COL_COMMENT <=", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentLike(String value) {
            addCriterion("COL_COMMENT like", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentNotLike(String value) {
            addCriterion("COL_COMMENT not like", value, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentIn(List<String> values) {
            addCriterion("COL_COMMENT in", values, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentNotIn(List<String> values) {
            addCriterion("COL_COMMENT not in", values, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentBetween(String value1, String value2) {
            addCriterion("COL_COMMENT between", value1, value2, "colComment");
            return (Criteria) this;
        }

        public Criteria andColCommentNotBetween(String value1, String value2) {
            addCriterion("COL_COMMENT not between", value1, value2, "colComment");
            return (Criteria) this;
        }

        public Criteria andFormShowIsNull() {
            addCriterion("FORM_SHOW is null");
            return (Criteria) this;
        }

        public Criteria andFormShowIsNotNull() {
            addCriterion("FORM_SHOW is not null");
            return (Criteria) this;
        }

        public Criteria andFormShowEqualTo(Short value) {
            addCriterion("FORM_SHOW =", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowNotEqualTo(Short value) {
            addCriterion("FORM_SHOW <>", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowGreaterThan(Short value) {
            addCriterion("FORM_SHOW >", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowGreaterThanOrEqualTo(Short value) {
            addCriterion("FORM_SHOW >=", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowLessThan(Short value) {
            addCriterion("FORM_SHOW <", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowLessThanOrEqualTo(Short value) {
            addCriterion("FORM_SHOW <=", value, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowIn(List<Short> values) {
            addCriterion("FORM_SHOW in", values, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowNotIn(List<Short> values) {
            addCriterion("FORM_SHOW not in", values, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowBetween(Short value1, Short value2) {
            addCriterion("FORM_SHOW between", value1, value2, "formShow");
            return (Criteria) this;
        }

        public Criteria andFormShowNotBetween(Short value1, Short value2) {
            addCriterion("FORM_SHOW not between", value1, value2, "formShow");
            return (Criteria) this;
        }

        public Criteria andListShowIsNull() {
            addCriterion("LIST_SHOW is null");
            return (Criteria) this;
        }

        public Criteria andListShowIsNotNull() {
            addCriterion("LIST_SHOW is not null");
            return (Criteria) this;
        }

        public Criteria andListShowEqualTo(Short value) {
            addCriterion("LIST_SHOW =", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowNotEqualTo(Short value) {
            addCriterion("LIST_SHOW <>", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowGreaterThan(Short value) {
            addCriterion("LIST_SHOW >", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowGreaterThanOrEqualTo(Short value) {
            addCriterion("LIST_SHOW >=", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowLessThan(Short value) {
            addCriterion("LIST_SHOW <", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowLessThanOrEqualTo(Short value) {
            addCriterion("LIST_SHOW <=", value, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowIn(List<Short> values) {
            addCriterion("LIST_SHOW in", values, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowNotIn(List<Short> values) {
            addCriterion("LIST_SHOW not in", values, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowBetween(Short value1, Short value2) {
            addCriterion("LIST_SHOW between", value1, value2, "listShow");
            return (Criteria) this;
        }

        public Criteria andListShowNotBetween(Short value1, Short value2) {
            addCriterion("LIST_SHOW not between", value1, value2, "listShow");
            return (Criteria) this;
        }

        public Criteria andInputTypeIsNull() {
            addCriterion("INPUT_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andInputTypeIsNotNull() {
            addCriterion("INPUT_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andInputTypeEqualTo(Short value) {
            addCriterion("INPUT_TYPE =", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeNotEqualTo(Short value) {
            addCriterion("INPUT_TYPE <>", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeGreaterThan(Short value) {
            addCriterion("INPUT_TYPE >", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("INPUT_TYPE >=", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeLessThan(Short value) {
            addCriterion("INPUT_TYPE <", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeLessThanOrEqualTo(Short value) {
            addCriterion("INPUT_TYPE <=", value, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeIn(List<Short> values) {
            addCriterion("INPUT_TYPE in", values, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeNotIn(List<Short> values) {
            addCriterion("INPUT_TYPE not in", values, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeBetween(Short value1, Short value2) {
            addCriterion("INPUT_TYPE between", value1, value2, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputTypeNotBetween(Short value1, Short value2) {
            addCriterion("INPUT_TYPE not between", value1, value2, "inputType");
            return (Criteria) this;
        }

        public Criteria andInputWidthIsNull() {
            addCriterion("INPUT_WIDTH is null");
            return (Criteria) this;
        }

        public Criteria andInputWidthIsNotNull() {
            addCriterion("INPUT_WIDTH is not null");
            return (Criteria) this;
        }

        public Criteria andInputWidthEqualTo(Long value) {
            addCriterion("INPUT_WIDTH =", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthNotEqualTo(Long value) {
            addCriterion("INPUT_WIDTH <>", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthGreaterThan(Long value) {
            addCriterion("INPUT_WIDTH >", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthGreaterThanOrEqualTo(Long value) {
            addCriterion("INPUT_WIDTH >=", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthLessThan(Long value) {
            addCriterion("INPUT_WIDTH <", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthLessThanOrEqualTo(Long value) {
            addCriterion("INPUT_WIDTH <=", value, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthIn(List<Long> values) {
            addCriterion("INPUT_WIDTH in", values, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthNotIn(List<Long> values) {
            addCriterion("INPUT_WIDTH not in", values, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthBetween(Long value1, Long value2) {
            addCriterion("INPUT_WIDTH between", value1, value2, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andInputWidthNotBetween(Long value1, Long value2) {
            addCriterion("INPUT_WIDTH not between", value1, value2, "inputWidth");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNull() {
            addCriterion("IS_SEARCH is null");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNotNull() {
            addCriterion("IS_SEARCH is not null");
            return (Criteria) this;
        }

        public Criteria andIsSearchEqualTo(Short value) {
            addCriterion("IS_SEARCH =", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotEqualTo(Short value) {
            addCriterion("IS_SEARCH <>", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThan(Short value) {
            addCriterion("IS_SEARCH >", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_SEARCH >=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThan(Short value) {
            addCriterion("IS_SEARCH <", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThanOrEqualTo(Short value) {
            addCriterion("IS_SEARCH <=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchIn(List<Short> values) {
            addCriterion("IS_SEARCH in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotIn(List<Short> values) {
            addCriterion("IS_SEARCH not in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchBetween(Short value1, Short value2) {
            addCriterion("IS_SEARCH between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotBetween(Short value1, Short value2) {
            addCriterion("IS_SEARCH not between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andSearchTypeIsNull() {
            addCriterion("SEARCH_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andSearchTypeIsNotNull() {
            addCriterion("SEARCH_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSearchTypeEqualTo(Short value) {
            addCriterion("SEARCH_TYPE =", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeNotEqualTo(Short value) {
            addCriterion("SEARCH_TYPE <>", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeGreaterThan(Short value) {
            addCriterion("SEARCH_TYPE >", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("SEARCH_TYPE >=", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeLessThan(Short value) {
            addCriterion("SEARCH_TYPE <", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeLessThanOrEqualTo(Short value) {
            addCriterion("SEARCH_TYPE <=", value, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeIn(List<Short> values) {
            addCriterion("SEARCH_TYPE in", values, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeNotIn(List<Short> values) {
            addCriterion("SEARCH_TYPE not in", values, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeBetween(Short value1, Short value2) {
            addCriterion("SEARCH_TYPE between", value1, value2, "searchType");
            return (Criteria) this;
        }

        public Criteria andSearchTypeNotBetween(Short value1, Short value2) {
            addCriterion("SEARCH_TYPE not between", value1, value2, "searchType");
            return (Criteria) this;
        }

        public Criteria andValidateRulesIsNull() {
            addCriterion("VALIDATE_RULES is null");
            return (Criteria) this;
        }

        public Criteria andValidateRulesIsNotNull() {
            addCriterion("VALIDATE_RULES is not null");
            return (Criteria) this;
        }

        public Criteria andValidateRulesEqualTo(String value) {
            addCriterion("VALIDATE_RULES =", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesNotEqualTo(String value) {
            addCriterion("VALIDATE_RULES <>", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesGreaterThan(String value) {
            addCriterion("VALIDATE_RULES >", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesGreaterThanOrEqualTo(String value) {
            addCriterion("VALIDATE_RULES >=", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesLessThan(String value) {
            addCriterion("VALIDATE_RULES <", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesLessThanOrEqualTo(String value) {
            addCriterion("VALIDATE_RULES <=", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesLike(String value) {
            addCriterion("VALIDATE_RULES like", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesNotLike(String value) {
            addCriterion("VALIDATE_RULES not like", value, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesIn(List<String> values) {
            addCriterion("VALIDATE_RULES in", values, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesNotIn(List<String> values) {
            addCriterion("VALIDATE_RULES not in", values, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesBetween(String value1, String value2) {
            addCriterion("VALIDATE_RULES between", value1, value2, "validateRules");
            return (Criteria) this;
        }

        public Criteria andValidateRulesNotBetween(String value1, String value2) {
            addCriterion("VALIDATE_RULES not between", value1, value2, "validateRules");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("DATA_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("DATA_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            addCriterion("DATA_TYPE =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            addCriterion("DATA_TYPE <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            addCriterion("DATA_TYPE >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_TYPE >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            addCriterion("DATA_TYPE <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            addCriterion("DATA_TYPE <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            addCriterion("DATA_TYPE like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            addCriterion("DATA_TYPE not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            addCriterion("DATA_TYPE in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            addCriterion("DATA_TYPE not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("DATA_TYPE between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("DATA_TYPE not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataLengthIsNull() {
            addCriterion("DATA_LENGTH is null");
            return (Criteria) this;
        }

        public Criteria andDataLengthIsNotNull() {
            addCriterion("DATA_LENGTH is not null");
            return (Criteria) this;
        }

        public Criteria andDataLengthEqualTo(Long value) {
            addCriterion("DATA_LENGTH =", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotEqualTo(Long value) {
            addCriterion("DATA_LENGTH <>", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthGreaterThan(Long value) {
            addCriterion("DATA_LENGTH >", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthGreaterThanOrEqualTo(Long value) {
            addCriterion("DATA_LENGTH >=", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthLessThan(Long value) {
            addCriterion("DATA_LENGTH <", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthLessThanOrEqualTo(Long value) {
            addCriterion("DATA_LENGTH <=", value, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthIn(List<Long> values) {
            addCriterion("DATA_LENGTH in", values, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotIn(List<Long> values) {
            addCriterion("DATA_LENGTH not in", values, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthBetween(Long value1, Long value2) {
            addCriterion("DATA_LENGTH between", value1, value2, "dataLength");
            return (Criteria) this;
        }

        public Criteria andDataLengthNotBetween(Long value1, Long value2) {
            addCriterion("DATA_LENGTH not between", value1, value2, "dataLength");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("SORT_NUM is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("SORT_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(Long value) {
            addCriterion("SORT_NUM =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(Long value) {
            addCriterion("SORT_NUM <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(Long value) {
            addCriterion("SORT_NUM >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(Long value) {
            addCriterion("SORT_NUM >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(Long value) {
            addCriterion("SORT_NUM <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(Long value) {
            addCriterion("SORT_NUM <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<Long> values) {
            addCriterion("SORT_NUM in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<Long> values) {
            addCriterion("SORT_NUM not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(Long value1, Long value2) {
            addCriterion("SORT_NUM between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(Long value1, Long value2) {
            addCriterion("SORT_NUM not between", value1, value2, "sortNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}